<template>
	<view>
		<text>{{ counter }}</text>
		<button @click="oprater('add')">addd</button>
		<button>subnumber</button>
	</view>
</template>

<script setup>
import useCounterStore from '@/store/counter.js';
import { storeToRef } from 'pinia';

let counterStore = useCounterStore();
let { count } = counterStore;
console.log(count);

let oprater = () => {
	console.log('hello 我让领导');
};
</script>

<style lang="scss"></style>
